/* Tabs + jQuery UI theme mod
---------------------------------------------------------- */
.wpb_content_element .ui-tabs .ui-tabs-hide {
	display: none;
}
.wpb_content_element .ui-state-default .ui-icon,
.wpb_content_element .ui-state-active .ui-icon {
	background-image: url(../images/toggle_open.png);
	background-position: 0 0;
	position: absolute;
	right: 0.5em;
	top: 0.7em;
}
.wpb_content_element .ui-state-active .ui-icon {
	background-image: url(../images/toggle_close.png);
}

.wpb_content_element .ui-tabs .ui-tabs-nav li,
.wpb_content_element .ui-accordion .ui-accordion-header,
.wpb_tabs .ui-tabs .ui-tabs-panel {
	background-color: @vc_grey;
}
.wpb_content_element .ui-tabs .ui-tabs-nav li,
.wpb_content_element .ui-accordion .ui-accordion-header {
	.wpb_transition();
	&:hover {
		background: @vc_grey_hover;
	}
}

.wpb_content_element .ui-tabs,
.wpb_content_element .ui-tabs .ui-tabs-nav {
	padding: 0;
}
	#content .wpb_content_element .ui-tabs .ui-tabs-nav, /*#content for twenty ten theme */
	.wpb_content_element .ui-tabs .ui-tabs-nav {
		margin: 0;
	}
	.wpb_content_element .ui-tabs .ui-tabs-nav a,
	.wpb_content_element .ui-accordion-header a {
		border-bottom: none;
	}
	
.wpb_tabs .ui-tabs .ui-tabs-panel,
.wpb_accordion .ui-accordion .ui-accordion-content {
	padding: 1em;
}


/* Tour
---------------------------------------------------------- */
@tour_nav_w: 4;
.wpb_tour .ui-tabs .ui-tabs-nav {
	float: left;
	width: @fluidGridColumnWidth * @tour_nav_w + @fluidGridGutterWidth * (@tour_nav_w - 1);
}
	.wpb_tour .ui-tabs .ui-tabs-nav li,
	.wpb_tour .ui-tabs .ui-tabs-nav li.ui-tabs-selected {
		clear: both;
		margin-right: 0;
		width: 97%;
	}
	.wpb_tour .ui-tabs .ui-tabs-nav li.ui-tabs-selected {
		padding-bottom: 0;
	}
		.wpb_tour .ui-tabs .ui-tabs-nav li a {
			float: none;
			display: block;
		}
	
.wpb_tour .wpb_tab {
	float: left;
	width: 100% - (@fluidGridColumnWidth * @tour_nav_w + @fluidGridGutterWidth * (@tour_nav_w - 1)) - @fluidGridGutterWidth;
	margin-left: @fluidGridGutterWidth;
}

.wpb_tour .ui-tabs .ui-tabs-panel {
	border: none;
	padding: 0;
}

.wpb_tour_next_prev_nav {
	margin-left: @fluidGridColumnWidth * @tour_nav_w + @fluidGridGutterWidth * @tour_nav_w;
	
	font-size: 80%;
	
	a {
		border-bottom: 1px dotted;
		text-decoration: none;
		
		:hover {
			text-decoration: none;
			border-bottom: none;
		}
	}
	
	span {
		width: 49%;
		display: inline-block;
		padding-top: 10px;
		
		&.wpb_next_slide {
			text-align: right;
		}
	}
}

.wpb_tour.span3 .ui-tabs-nav,
.wpb_tour.span3 .wpb_column_container {
	width: auto;
	float: none;
}
.wpb_tour.span3 .ui-tabs-nav li,
.wpb_tour.span3 .ui-tabs-nav li.ui-tabs-selected,
.wpb_tour.span3 .wpb_tour_next_prev_nav {
	width: 100%;
	margin-left: 0;
}
.wpb_tour.span3 .wpb_tab {
	margin-left: 0;
	width: 100%;
	padding-top: 0.8em;
}



/* Accordion
---------------------------------------------------------- */
.wpb_accordion .ui-accordion .ui-accordion-header,
#content .wpb_accordion .ui-accordion .ui-accordion-header {
	margin-bottom: 0;
	text-transform: none;
	line-height: inherit;
	letter-spacing: inherit;
}